package com.luchao.back.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("订单")
public class Orders {

    @ApiModelProperty("订单ID")
    private int oid;

    @ApiModelProperty("订单关联用户ID")
    private Integer ouid;

    @ApiModelProperty("订单关联地址ID")
    private Integer orecid;

    @ApiModelProperty("订单号")
    private String onum;

    @ApiModelProperty("订单状态")
    private Integer ostate;

    @ApiModelProperty("订单创建时间")
    private String ordertime;

    @ApiModelProperty("订单总金额")
    private Float ototal;

    @ApiModelProperty("订单物流信息")
    private String oexpinfo;

    @ApiModelProperty("订单积分")
    private Float ointegral;

    @ApiModelProperty("订单备注")
    private String onote;


    @ApiModelProperty("订单所属用户")
    private Users user;

    @ApiModelProperty("订单所属地址")
    private Receives receive;


    @ApiModelProperty("订单商品(鞋子)列表")
    private List<OrderShoes> orderShoes;

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public Integer getOuid() {
        return ouid;
    }

    public void setOuid(Integer ouid) {
        this.ouid = ouid;
    }

    public Integer getOrecid() {
        return orecid;
    }

    public void setOrecid(Integer orecid) {
        this.orecid = orecid;
    }

    public String getOnum() {
        return onum;
    }

    public void setOnum(String onum) {
        this.onum = onum;
    }

    public Integer getOstate() {
        return ostate;
    }

    public void setOstate(Integer ostate) {
        this.ostate = ostate;
    }

    public String getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(String ordertime) {
        this.ordertime = ordertime;
    }

    public Float getOtotal() {
        return ototal;
    }

    public void setOtotal(Float ototal) {
        this.ototal = ototal;
    }

    public String getOexpinfo() {
        return oexpinfo;
    }

    public void setOexpinfo(String oexpinfo) {
        this.oexpinfo = oexpinfo;
    }

    public Float getOintegral() {
        return ointegral;
    }

    public void setOintegral(Float ointegral) {
        this.ointegral = ointegral;
    }

    public String getOnote() {
        return onote;
    }

    public void setOnote(String onote) {
        this.onote = onote;
    }

    public Users getUser() {
        return user;
    }

    public void setUser(Users user) {
        this.user = user;
    }

    public Receives getReceive() {
        return receive;
    }

    public void setReceive(Receives receive) {
        this.receive = receive;
    }

    public List<OrderShoes> getOrderShoes() {
        return orderShoes;
    }

    public void setOrderShoes(List<OrderShoes> orderShoes) {
        this.orderShoes = orderShoes;
    }
}
